package com.yhsimon.reflection;

import java.lang.annotation.ElementType;

public class Test03 {
    public static void main(String[] args) {
        Class c1 = Object.class;//类
        Class c2 = Comparable.class; //接口
        Class c3 = ElementType.class; //枚举
        Class c4 = int[].class;
        Class c5 = int[][].class;
        Class c6 = void.class;
        Class c7 = Class.class;
        Class c8 = Override.class;  //注解

        System.out.println(c1);
        System.out.println(c2);
        System.out.println(c3);
        System.out.println(c4);
        System.out.println(c5);
        System.out.println(c6);
        System.out.println(c7);
        System.out.println(c8);

        int[] a = new int[10];
        int[] b = new int[100];
        System.out.println(a.getClass().hashCode());
        System.out.println(b.getClass().hashCode());
    }
}
